package com.mlnx.bptp.body;

/**
 * @author zzb
 * @create 2019/3/27 13:32
 */
public class BpBody {
    private int sbp;//收缩压
    private int dbp;//舒张压
    private int hr;//心率
    private Long receiveTime;//获取数据时间
    private String position;//测量体位，0：平躺，1：站立或静坐，2：轻微运动，3：剧烈运动
    private int method;//0为自动其他为手动
    private int record;//指定条数

    public int getRecord() {
        return record;
    }

    public void setRecord(int record) {
        this.record = record;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getMethod() {
        return method;
    }

    public void setMethod(int method) {
        this.method = method;
    }

    public Long getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Long receiveTime) {
        this.receiveTime = receiveTime;
    }

    public int getSbp() {
        return sbp;
    }

    public void setSbp(int sbp) {
        this.sbp = sbp;
    }

    public int getDbp() {
        return dbp;
    }

    public void setDbp(int dbp) {
        this.dbp = dbp;
    }

    public int getHr() {
        return hr;
    }

    public void setHr(int hr) {
        this.hr = hr;
    }

    @Override
    public String toString() {
        return "BpBody{" +
                "sbp=" + sbp +
                ", dbp=" + dbp +
                ", hr=" + hr +
                ", receiveTime=" + receiveTime +
                ", position=" + position +
                ", method=" + method +
                ", record=" + record +
                '}';
    }
}
